{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

{/* import Js,Css */}
	<js href="__PUBLIC__/js/admin/listTable.js"/>
	<js href="__PUBLIC__/js/admin/js.util.js"/>
	<css href="__PUBLIC__/css/admin/common.css"/>
	<js href="__PUBLIC__/js/admin/js.selectzone.js"/>
	
	<css href="__PUBLIC__/css/jquery-ui.css" />
	<js href="__PUBLIC__/js/core/jquery-ui.1.10.4.js" />
	<js href="__PUBLIC__/js/core/plugins.js"/>
{/* import js,css */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->

<div class="list-div">
	<table width="100%" cellpadding="3" cellspacing="1" >
		<tr>
			<th colspan="4">订购信息</th>
		</tr>
		<tr>
			<td align="right" class="first-cell" >登记用户：</td>
			<td>{$booking.user_name}</td>
			<td align="right" class="first-cell" >登记时间：</td>
			<td>{$booking.booking_time}</td>
		</tr>
		<tr>
			<td align="right" class="first-cell" >缺货商品名：</td>
			<td><a href="../goods.php?id={$booking.goods_id}" target="_blank" title="{$lang.view}">{$booking.goods_name}</a></td>
			<td align="right" class="first-cell" >数量：</td>
			<td>{$booking.goods_number}</td>
		</tr>
		<tr>
			<td align="right" class="first-cell" valign="top">详细描述：</td>
			<td colspan="3">{$booking.goods_desc}</td>
		</tr>
		<tr>
			<td align="right" class="first-cell" >联系人：</td>
			<td>
				{$booking.link_man}
				<if condition="$booking['email'] neq ''">
					<{$booking.email}>
				</if>
			</td>
			<td align="right" class="first-cell" >电话通知：</td>
			<td>{$booking.tel}</td>
		</tr>
		<if condition="$booking['is_dispose'] eq 1">
		<tr>
			<th colspan="4" >处理信息</th>
		</tr>
		<tr>
			<td align="right" class="first-cell">处理用户：</td><td>{$booking.dispose_user}</td>
			<td align="right" class="first-cell">处理备时间：</td><td>{$booking.dispose_time}</td>
		</tr>
		<tr>
			<td align="right" class="first-cell">处理时间：</td><td colspan="3">{$booking.dispose_note}</td>
		</tr>
		</if>
	</table>
</div>
<br/>

<if condition="$send_fail neq 0">
	<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
		<li style="border: 1px solid #CC0000; background: #FFFFCC; padding: 10px; margin-bottom: 5px;" >
			邮件发送失败，请检查邮件服务器设置后重新发送邮件。
		</li>
	</ul>
</if>

<div class="form-div">
	<form name='theForm' method="post" action="__URL__/update_booking" onsubmit="return validate()">
		处理备注: :&nbsp;&nbsp;
		<input type="text" name="dispose_note" size="55" value="{$booking.dispose_note}" />&nbsp;
		<input type ="hidden" name="act" value="update" />
		<input type="hidden" name="rec_id" value="{$booking.rec_id}" >
		<input name="send_email_notice" type="checkbox" value='1'/>
		邮件通知
		<input type="submit" value="我来处理" />
		<if condition="$booking['is_dispose'] eq 1">
			<input type="submit" name="remail" value="重发邮件" />
		</if>
	</form>
</div>
